package com.example.personalaccount.repository;

import com.example.personalaccount.entity.Account;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface AccountRepository extends MongoRepository<Account,String> {

    Account getAccountByUserId(long userId);

}
